﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-size: .85em;
    font-family: Tahoma, Sans-Serif;
}
.page {
    min-height: 100%;
    min-width: 1100px;
    max-width: 1500px;
    padding: 0 2%;
    background: url("img/bg2.png");
}
#content {
    padding: 100px 0;
}
.page #content {
    padding: 10px 0;
}
#marg {
    background-color: #ffffff;
    border-radius: 20px;
    margin: 0 auto;
    padding: 20px;
    border: 2px solid #005000;
}
#main {
    padding: 50px 30px 15px 30px;
    background-color: #fff;
    border-radius: 10px;
}
#title {
    margin: auto;
    width: 200px;
    height: 70px;
    background: url("img/namecup.png") no-repeat;
}
#title a {
    display: inline-block;
    width: 100%;
    height: 100%;
    opacity: 0;
}
#nav, #name {
    position: absolute;
    padding: 5px;
    height: 40px;
    width: 200px;
    left: 80%;
    top: -50px;
    background-color: #005000;
    border-radius: 20px 20px 0 0;
    text-align: center;
}
#name {
    left: 60%;
}
#name a, #nav a {
    display: inline-block;
    height: 100%;
    width: 100%;
    font: italic bold 18px/50px  Tahoma, sans-serif;
    color: #ffffff;
    text-decoration: none;
}
#menu, #all {
    margin: 2%;
    border-radius: 10px;
}
#menu {
    width: 15%;
    float: left;
    padding: 5px 15px;
    border: 2px solid #005000;
}
#all {
    width: 70%;
    float: right;
    padding: 1%;
}
ul {
    list-style: none;
    padding: 0;
}
ul li {
    font: italic bold 20px/40px  Tahoma, sans-serif;
}
a {
    text-decoration: none;
    color: #005000;
}
a:hover {
    text-decoration: underline;
}
#menu #one>li {
    font-size: 22px;
    font-style: normal;
}
/*
li:hover {
    transition: 1s;
    transform: translateX(30px);
    -webkit-transform: translateX(30px);
}
li:not(:hover) {
    transition: 1s;
}*/
/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 1px solid #005000;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

input[type="text"], 
input[type="password"] {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
    width: 200px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

input[type="submit"] {
    font-size: 1.2em;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px 0;
}

/* TABLE
----------------------------------------------------------*/

table {
    border: solid 1px #005000;
    border-collapse: collapse;
}

table td {
    padding: 5px;
    border: solid 1px #005000;
    text-align: center;
}

table th {
    padding: 6px 5px;
    text-align: center;
    background-color: #ffffff;
    border: solid 1px #005000;
}
#all p a, #table a {
    color: #005000;
    font-size: 18px;
    font-weight: 800;
}
table {
    width: 100%;
    vertical-align: middle;
    border-collapse: collapse;
}
#image_table tr>th {
    width: 10%;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

#menucontainer {
    margin-top: 40px;
}
/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, 
.editor-label {
    margin: 1em 0 0 0;
    font-weight: 800;
}

.display-field, 
.editor-field {
    margin: 0.5em 0 0 0;
}

/*
.text-box {
    width: 30em;
}*/

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}



#admin {
    position: fixed;
    left: -50px;
    bottom: -50px;
    width: 120px;
    height: 100px;
    background: #000000;
    border-radius: 90px;
    -webkit-transition: 1s ease-out 0.5s;
    -moz-transition: 1s ease-out 0s;
    -o-transition: 1s ease-out 0s;
    transition: 1s ease-out 0s;
}

#admin:hover {
    -moz-transform: translate(50px, -50px); /* Для Firefox */
    -ms-transform: translate(50px, -50px); /* Для IE */
    -webkit-transform: translate(50px, -50px); /* Для Safari, Chrome, iOS */
    -o-transform: translate(50px, -50px); /* Для Opera */
    transform: translate(50px, -50px);
}

#admin a {
    display: none;
    width: 100%;
    height: 100%;
    color: #ffffff;
    text-align: center;
    font: 900 16px/100px Arial, sans-serif;
}

#admin:hover a {
    display: inline-block;
    text-decoration: underline;
}

.button {
    font-size: 13px;
    float: left;
}

.table_none, .table_none tr, .table_none td{
    border: none;
    width: auto;
    text-align: left;
}

.content_in {
    margin: 20px;
}

#editorder input {
    text-align: center;
}

div select {
    min-width: 200px;
}

#Count {
    width: 50px;
}


/*________________________________*/



.deleteLink {
    display: inline-block;
    margin-left: 10px;
    width: 25px;
    height: 25px;
    background: url("img/button.png") 0 0;
    text-indent: -9999px;
}

.editLink {
    display: inline-block;
    margin-right: 10px;
    width: 25px;
    height: 25px;
    background: url("img/button.png") 0 50px;
    text-indent: -9999px;
}

.detailLink {
    display: inline-block;
    margin: 0 10px;
    width: 25px;
    height: 25px;
    background: url("img/button.png") 0 25px;
    text-indent: -9999px;
}

select {
    text-align: center;
}